Skip to content

1.5.0 #75

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 60 commits into from
Apr 5, 2025
Merged

1.5.0 #75

merged 60 commits into from
Apr 5, 2025

Conversation

mikhailChelbaev
Copy link
Collaborator

@mikhailChelbaev mikhailChelbaev commented Mar 11, 2025

1.5.0

New Components

  • UKCircularProgress

API Changes

  • Made UKCard generic over its content.
  • Deprecated currentValue in SUProgressBar and UKProgressBar; added it to ProgressBarVM instead.
  • Introduced a new API to present SUAlert with an item.
  • Exposed all ComponentColor subcolors via UniversalColor extensions.
  • Renamed ComponentsKitConfig to Theme.
  • Corrected a typo in BottomModalVM parameter name: renamed hidesOnSwap to hidesOnSwipe.

New Features

  • Added helper methods and a notification system for observing theme changes.

Improvements

  • Enhanced UKTextInput:
    • Adaptive corner radius calculation
    • Height recalculation on device rotation
    • Compression resistance for better layout handling
  • Adjusted font size for the large headline from 28 to 24.
  • Improved documentation for multiple components.

Bug Fixes

  • Fixed modal not presenting on app launch.
  • Prevented UKSegmentedControl from updating the selected ID when the item is disabled.
  • Fixed layout issues in modals.

@mikhailChelbaev mikhailChelbaev marked this pull request as draft March 11, 2025 12:17
Force modal's content take all available width
@mikhailChelbaev mikhailChelbaev requested a review from Copilot April 5, 2025 11:45
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 48 out of 67 changed files in this pull request and generated no comments.

Files not reviewed (19)
  • Examples/DemosApp/DemosApp/ComponentsPreview/Helpers/ModalPreview+Helpers.swift: Language not supported
  • Examples/DemosApp/DemosApp/ComponentsPreview/PreviewPages/AlertPreview.swift: Language not supported
  • Examples/DemosApp/DemosApp/ComponentsPreview/PreviewPages/BadgePreview.swift: Language not supported
  • Examples/DemosApp/DemosApp/ComponentsPreview/PreviewPages/BottomModalPreview.swift: Language not supported
  • Examples/DemosApp/DemosApp/ComponentsPreview/PreviewPages/CardPreview.swift: Language not supported
  • Examples/DemosApp/DemosApp/ComponentsPreview/PreviewPages/CircularProgressPreview.swift: Language not supported
  • Examples/DemosApp/DemosApp/ComponentsPreview/PreviewPages/ProgressBarPreview.swift: Language not supported
  • Examples/DemosApp/DemosApp/Core/App.swift: Language not supported
  • Sources/ComponentsKit/Components/Alert/SUAlert.swift: Language not supported
  • Sources/ComponentsKit/Components/Badge/Models/BadgeVM.swift: Language not supported
  • Sources/ComponentsKit/Components/Badge/SUBadge.swift: Language not supported
  • Sources/ComponentsKit/Components/Badge/UKBadge.swift: Language not supported
  • Sources/ComponentsKit/Components/Button/Models/ButtonVM.swift: Language not supported
  • Sources/ComponentsKit/Components/Button/SUButton.swift: Language not supported
  • Sources/ComponentsKit/Components/Button/UKButton.swift: Language not supported
  • Sources/ComponentsKit/Components/Card/UKCard.swift: Language not supported
  • Sources/ComponentsKit/Components/CircularProgress/Models/CircularProgressLineCap.swift: Language not supported
  • Sources/ComponentsKit/Components/CircularProgress/Models/CircularProgressShape.swift: Language not supported
  • Sources/ComponentsKit/Components/CircularProgress/Models/CircularProgressStyle.swift: Language not supported

@mikhailChelbaev mikhailChelbaev marked this pull request as ready for review April 5, 2025 11:46
@mikhailChelbaev mikhailChelbaev merged commit c48294c into main Apr 5, 2025
1 check passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant